package com.dys.dao;

import com.dys.entity.Student;

import java.util.List;

/**
 * @className: com.dys.dao.StudentDao
 * @description: com.dys.dao
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/09/25 20:18
 */
public interface StudentDao {

    List<Student> findByPage(String stuname, String stuage, int currentPage, int pageSize);

    /**
     * 查询出有多少条数据
     *
     * @return
     */
    int findTotalSize(String stuname, String stuage);
}
